define(function(require, exports, module) {
	'use strict';
    
    var rk = require('rk');
    require('./shareDialogCtrl');

    return {
        popup: function(){
        	 rk.dialog({
                title: rk.i18n('SHARE_SHARE_CONTENT'),
                success: function (contentElem, footerElem){
                    contentElem.shareDialogCtrl();//初始化弹框的Ctrl
                },
                footer: [{act: 'share', visible: true, text: rk.i18n('SHARE')}]//弹框的按钮
            });
        }
    }

});
